BackgroundRemovalPlugin

Plugin for background removal. This plugin adds a dedicated button to the Dock that removes the background from the current page.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Background removal configuration object. Check BackgroundRemovalPlugin inheritors for available options.

Link copied to clipboard

Returns the editor dock with the background removal button inserted by dockModifier.

Link copied to clipboard

The Dock modifier in order to place the Dock.Button.rememberBackgroundRemoval button. By default, it is prepended to the dock.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var onClose: suspend EditorScope.() -> Unit?
Link copied to clipboard
open override var onCreate: suspend EditorScope.() -> Unit?

Initializes the configured background remover after the parent configuration is created.

Link copied to clipboard
open var onError: suspend EditorScope.(Throwable) -> Unit?
Link copied to clipboard
Link copied to clipboard
open var onExport: suspend EditorScope.() -> Unit?
Link copied to clipboard
open var onLoaded: suspend EditorScope.() -> Unit?
Link copied to clipboard
Link copied to clipboard